﻿<Page
    x:Class="PakistanAnthem.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PakistanAnthem"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="Assets/bg.jpg"/>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" FlowDirection="LeftToRight" Orientation="Horizontal">
        <TextBlock Text="Pakistan Anthem" Style="{StaticResource PageHeaderTextStyle}" Margin="30,30,30,30" Height="59"/>
        <Button Content="Play" Tapped="Button_Tapped_1"/>
        <Button Content="Stop" Tapped="Button_Tapped_2" />
        </StackPanel>
        <TextBlock Text="Qaumī Tarāna &#13; &#13; pāk sarzamīn shād bād &#13; kishwar-e-hasīn shād bād &#13; tū nishān-e`azm-e-`alīshān &#13; arz-e-pākistān! &#13;  &#13; markaz-e-yaqīn shād bād &#13; &#13; pāk sarzamīn kā nizām &#13; qūwat-e-ukhūwat-e`awām &#13; qaum, mulk, sultanat &#13; pā'inda tābinda bād!  &#13;  &#13; shād bād manzil-e-murād &#13; &#13; parcham-e-sitāra-o hilāl &#13; rahbar-e-taraqqī-o kamāl &#13; tarjumān-e-māzī, shān-e-hāl &#13; jān-e-istiqbāl! &#13; &#13; sāyah-e-khudā-e-zu-l-jalāl" 
                   TextAlignment="Center" Grid.Row="1" Grid.Column="0" Style="{StaticResource BasicTextStyle}"/>
        
        <Image Grid.Column="1" Grid.Row="1" VerticalAlignment="Top" Width="Auto" Height="Auto" Source="Assets/anthem.png"/>
        <TextBlock Grid.Row="1" Grid.Column="2" TextAlignment="Center" Style="{StaticResource BasicTextStyle}" 
                   Text="National Anthem &#13; &#13; Blessed be the sacred land  &#13; Happy be the bounteous realm &#13; Thou symbol of high resolve &#13; O Land of Pakistan! &#13; &#13; Blessed be the citadel of faith  &#13; &#13; The order of this sacred land &#13; Is the might of the brotherhood of the people &#13; May the nation, the country, and the state &#13; Shine in glory everlasting! &#13;  &#13;Blessed be the goal of our ambition  &#13; &#13; The flag of the crescent and star &#13; Leads the way to progress and perfection &#13; Interpreter of our past, glory of our present &#13; Inspiration for our future! &#13;  &#13;Shadow of God, the Glorious and Mighty &#13; "/>
        <MediaElement x:Name="AnthemPlayer" Grid.Column="2" HorizontalAlignment="Left" Height="100" Margin="144,500,0,0" Grid.Row="1" VerticalAlignment="Top" Width="100" AutoPlay="False" Source="Assets/anthem.mp3"/>

    </Grid>
</Page>
